<!DOCTYPE html>
<html>

<head>
<script src="/static/js/jquery-3.4.1.min.js"></script>
<script src="/static/js/ewa.js"></script>
</head>

<body>
	<form>
	    <div>
	        <input type="text" id="IdInput3" placeholder="new user" />
	    </div>
	    <div>
	        <input type="password" id="IdInput4" placeholder="pass" />
	    </div>
	</form>
		 <!-- 按钮style只能是button, 兼容IE,Chrome, Firefox ; 放在这里避免重复刷新页面而不能POST表单-->
	    <button style="button" onclick="ewa.ApiAddUser('IdInput3', 'IdInput4', '/adduser')">Add User</button>

	<form>
	    <div>
	        <input type="text" id="IdInput5" placeholder="user" />
	    </div>
	    <div>
	        <input type="password" id="IdInput6" placeholder="current pass" />
	    </div>
	    <div>
	        <input type="password" id="IdInput7" placeholder="new pass" />
	    </div>
	</form>
		 <!-- 按钮style只能是button, 兼容IE,Chrome, Firefox ; 放在这里避免重复刷新页面而不能POST表单-->
	    <button style="button" onclick="ewa.ApiChangePass('IdInput5', 'IdInput6', 'IdInput7', '/changepass')">Change Pass</button>

</body>

</html>